Google News
logo
jQuery - Interview Questions
What is jQuery.holdReady() function?
jQuery.holdReady() function is what we can hold or release the execution of jQuery's ready event. This method should be called before we run the ready event. To delay the ready event, we need to call jQuery.holdReady(true);
 
When we want to release the ready event then we need to call jQuery.holdReady(false);
 
This function is helpful when we want to load any jQuery plugin before the execution of the ready event or want to perform certain events/functions before document.ready() loads .
Advertisement